package com.zz.tijian.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单退款表
 * @TableName refund
 */
@TableName(value ="refund")
@Data
public class Refund implements Serializable {
    /**
     * 订单id
     */
    @TableId
    private Integer id;

    /**
     * 支付服务交易单号
     */
    private Long tradeId;

    /**
     * 实付金额
     */
    private BigDecimal payMount;

    /**
     * 创建时间
     */
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}